<% if (@est.nil? || @est.price < 0)%>
      <td colspan="3" align="right">Current value </td>
      <td>.....</td>
      <td>.....</td>
      <td>.....</td>
      <td>.....</td>
      <td>.....</td>
      <td>&nbsp;</td>
<% else %>
      <td colspan="3" align="right">Current value (<%= @est.timestamp.to_s %>)</td>
      <td><%= @est.quantity %></td>
      <td><%= sprintf("%0.2f", @est.price) %></td>
      <td><%= sprintf("%0.2f", @est.net_amount) %></td>
      <td><%= sprintf("%0.2f", @est.brokerage) %></td>
      <td><%= sprintf("%0.2f", @est.gross_amount) %></td>
      <td>&nbsp;</td>
<% end %>